﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SMSPPPDataSet" targetNamespace="http://tempuri.org/SMSPPPDataSet.xsd" xmlns:mstns="http://tempuri.org/SMSPPPDataSet.xsd" xmlns="http://tempuri.org/SMSPPPDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection ConnectionStringObject="Data Source=.\SMSPPP.sdf" IsAppSettingsProperty="false" Modifier="Assembly" Name="SMSPPP.sdf" ParameterPrefix="@" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SENT_SMSTableAdapter" GeneratorDataComponentClassName="SENT_SMSTableAdapter" Name="SENT_SMS" UserDataComponentName="SENT_SMSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SMSPPP.sdf" DbObjectName="SENT_SMS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [SENT_SMS] WHERE (([SMS_ID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SMS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [SENT_SMS] ([SMS_RECIPIENT], [SMS_TEXT], [SMS_FRAGMENTS], [SMS_DATE]) VALUES (@p1, @p2, @p3, @p4)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SMS_RECIPIENT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SMS_TEXT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SMS_FRAGMENTS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SMS_DATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [SMS_ID], [SMS_RECIPIENT], [SMS_TEXT], [SMS_FRAGMENTS], [SMS_DATE] FROM [SENT_SMS]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [SENT_SMS] SET [SMS_RECIPIENT] = @p1, [SMS_TEXT] = @p2, [SMS_FRAGMENTS] = @p3, [SMS_DATE] = @p4 WHERE (([SMS_ID] = @p5))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SMS_RECIPIENT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SMS_TEXT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SMS_FRAGMENTS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SMS_DATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SMS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SMS_ID" DataSetColumn="SMS_ID" />
              <Mapping SourceColumn="SMS_RECIPIENT" DataSetColumn="SMS_RECIPIENT" />
              <Mapping SourceColumn="SMS_TEXT" DataSetColumn="SMS_TEXT" />
              <Mapping SourceColumn="SMS_FRAGMENTS" DataSetColumn="SMS_FRAGMENTS" />
              <Mapping SourceColumn="SMS_DATE" DataSetColumn="SMS_DATE" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="SMSPPPDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="SMSPPPDataSet" msprop:Generator_UserDSName="SMSPPPDataSet" msprop:EnableTableAdapterManager="False">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SENT_SMS" msprop:Generator_UserTableName="SENT_SMS" msprop:Generator_RowDeletedName="SENT_SMSRowDeleted" msprop:Generator_TableClassName="SENT_SMSDataTable" msprop:Generator_RowChangedName="SENT_SMSRowChanged" msprop:Generator_RowClassName="SENT_SMSRow" msprop:Generator_RowChangingName="SENT_SMSRowChanging" msprop:Generator_RowEvArgName="SENT_SMSRowChangeEvent" msprop:Generator_RowEvHandlerName="SENT_SMSRowChangeEventHandler" msprop:Generator_TablePropName="SENT_SMS" msprop:Generator_TableVarName="tableSENT_SMS" msprop:Generator_RowDeletingName="SENT_SMSRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SMS_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SMS_ID" msprop:Generator_ColumnPropNameInRow="SMS_ID" msprop:Generator_ColumnVarNameInTable="columnSMS_ID" msprop:Generator_ColumnPropNameInTable="SMS_IDColumn" type="xs:int" />
              <xs:element name="SMS_RECIPIENT" msprop:Generator_UserColumnName="SMS_RECIPIENT" msprop:Generator_ColumnPropNameInRow="SMS_RECIPIENT" msprop:Generator_ColumnVarNameInTable="columnSMS_RECIPIENT" msprop:Generator_ColumnPropNameInTable="SMS_RECIPIENTColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SMS_TEXT" msprop:Generator_UserColumnName="SMS_TEXT" msprop:Generator_ColumnPropNameInRow="SMS_TEXT" msprop:Generator_ColumnVarNameInTable="columnSMS_TEXT" msprop:Generator_ColumnPropNameInTable="SMS_TEXTColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SMS_FRAGMENTS" msprop:Generator_UserColumnName="SMS_FRAGMENTS" msprop:Generator_ColumnPropNameInRow="SMS_FRAGMENTS" msprop:Generator_ColumnVarNameInTable="columnSMS_FRAGMENTS" msprop:Generator_ColumnPropNameInTable="SMS_FRAGMENTSColumn" type="xs:short" minOccurs="0" />
              <xs:element name="SMS_DATE" msprop:Generator_UserColumnName="SMS_DATE" msprop:Generator_ColumnPropNameInRow="SMS_DATE" msprop:Generator_ColumnVarNameInTable="columnSMS_DATE" msprop:Generator_ColumnPropNameInTable="SMS_DATEColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SENT_SMS" />
      <xs:field xpath="mstns:SMS_ID" />
    </xs:unique>
  </xs:element>
</xs:schema>